package com.ensibs.nuitinfo2013;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class MainActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);
		//startActivity(new Intent(this, RechercheActivity.class));
		//startActivity(new Intent(this, GuideActivity.class));
	}

	public void onClick(final View view) {
		switch (view.getId()) {
			case R.id.main_guide:
				startActivity(new Intent(this, GuideActivity.class));
			break;
			case R.id.main_forum:	
				startActivity(new Intent(this, ForumActivity.class));
			break;
		}
	}

}
